import {RouterModule, Routes} from '@angular/router';
import {NgModule} from '@angular/core';
import {AliyunComponent} from './aliyun.component';

const routes: Routes = [
    {
        path: '', component: AliyunComponent,
        children: [
            {path: '', redirectTo: 'ali-oss', pathMatch: 'full'},
            {path: 'ali-oss', loadChildren: './ali-oss/ali-oss.module#AliOSSModule'},
        ]
    }
];

@NgModule({
    imports: [RouterModule.forChild(routes)],
    exports: [RouterModule]
})
export class AliyunRoutingModule {
}
